package com.shuhua.pojo.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * 工匠个人信息视图对象
 */
@Data
public class CraftsmanVO implements Serializable {

    private static final long serialVersionUID = 1L;

    private Long id;
    private String realName;
    private String phone;
    private String avatar;
    private String serviceCity;
    private String serviceDistrict;
    private String department;
    private String station;
    private Integer isTeamLeader;
    private Integer isCompanyCraftsman;
    private Integer authStatus;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime authTime;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime createdAt;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime updatedAt;

    private String idCardFront;
    private String idCardBack;
}